<!doctype html>
<html>
<head>
    <title>Meadowlark Travel</title>
    {{{_sections.head}}}
    {{#if showTests}}
        <link rel="stylesheet" href="/vendor/mocha.css">
    {{/if}}
    <link rel="stylesheet" href="/css/css.css">
    <script src="/js/jquery-2.0.2.min.js"></script>
</head>
<body>
<ul class="nav">
    <li><a href="/">首页</a></li>
    <li><a href="/?test=1">测试</a></li>
    <li><a href="/about">关于</a></li>
    <li><a href="/headers" target="_blank">请求头展示</a></li>
    <li><a href="/test" target="_blank">渲染纯文本输出</a></li>
    <li><a href="/api/tours" target="_blank">GET返回JSON</a></li>
    <li><a href="/api/tours1" target="_blank">GET返回JSON、XML或text(res.format用法)</a></li>
    <li><a href="/foo" target="_blank">不使用布局</a></li>
    <li><a href="/foo1" target="_blank">使用新布局</a></li>
    <li><a href="/jquerytest">段落(section)</a></li>
    <li><a href="/nursery-rhyme">客户端模板</a></li>


</ul>
<header><img src="/img/logo.png" alt="Meadowlark Travel Logo"></header>
{{{body}}}

{{{_sections.jquery}}}

{{#if showTests}}
    <div id="mocha"></div>
    <script src="/vendor/mocha.js"></script>
    <script src="/vendor/chai.js"></script>
    <script>
        mocha.ui('tdd');
        var assert = chai.assert;
    </script>
    <script src="/qa/tests-global.js"></script>
    {{#if pageTestScript}}
        <script src="{{pageTestScript}}"></script>
    {{/if}}
    <script>mocha.run();</script>
{{/if}}
</body>
</html>